package com.gxa.insurance.pojo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.stereotype.Component;

import java.io.Serializable;

/**
 * @author wang li sha
 * @description TODO
 * @date 2022-06-08 12:46
 */
@ApiModel(value = "角色的实体")
@Data
@NoArgsConstructor
@AllArgsConstructor
@Component
public class Role implements Serializable {
    @ApiModelProperty(name = "id", value = "编号", required = false)
    private Integer id;
    @ApiModelProperty(name = "name", value = "角色名字", required = true, example = "超级管理员")
    private String name;
    @ApiModelProperty(name = "remark", value = "角色标记", required = true, example = "superManager")
    private String remark;
}
